/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.fyx.core.web.event;

import java.util.Observable;
import org.fyx.linker.web.LinkerLocal;

//TODO Udalosti by meli predavat kontejnery prostrednictvim parametru. A nebo ne?
/**
 * Udalost ktera je spustena pri naplnovani fronty odkazu.
 * <p>
 * Metoda {@link Observer#update(java.util.Observable, java.lang.Object)}
 * jednotlivych observeru je volana v pripade, ze je nutne vlozit
 * instance typu {@link MenuItem} pomoci metody
 * {@link LinkerLocal#addMenuItem(MenuItem, String)} do kontejneru
 * odkazu.
 * 
 * @author xljan
 * @see LinkerLocal#addMenuItem(MenuItem, String)
 */
public class MenuCreatingEventHandler extends Observable {

    public MenuCreatingEventHandler() {
        
    }

    @Override
    public void notifyObservers(Object arg) {
        setChanged();
        super.notifyObservers(arg);
    }
}
